﻿/*
 * Created by SharpDevelop.
 */
using System;
using System.Windows.Forms;

namespace MiniMIPS
{
	/// <summary>
	/// Class with program entry point.
	/// </summary>
	internal sealed class Program
	{
		/// <summary>
		/// Program entry point.
		/// </summary>
		[STAThread]
		private static void Main(string[] args)
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			MIPSForm main = new MainForm();
			
			try
			{
				Application.Run((Form)main);
			}
			catch(Exception ex)
			{
				main.Save("crashsave.mips");
				throw;
			}
		}
		
	}
}
